export const useDeleteChatUser = (chats) => {
     return (index) => {
      chats.splice(index,1);
     }
}